<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>分享给好友 - 108Wo室内设计数据资源中心</title>
<link href="{CSS_PATH}108wo/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="{JS_PATH}108wo/jquery-1.3.2.min.js"></script>
<script type="text/javascript" src="{JS_PATH}108wo/zeroclipboard/ZeroClipboard.js"></script>
<script type="text/javascript">
$(function(){
	ZeroClipboard.setMoviePath('{JS_PATH}108wo/zeroclipboard/ZeroClipboard10.swf');
	var clip = new ZeroClipboard.Client();
	clip.setHandCursor( true );
	clip.addEventListener('mouseOver', function (client) {
		// update the text on mouse over
		clip.setText( $('#shareLink').val() );
	});
	clip.addEventListener('complete', function (client, text) {
		$('button').css('color','green').html('复制成功');
	});
	clip.glue( 'd_clip_button', 'd_clip_container' );
})
</script>
</head>
<body style="background:none">
<div id="createList">
	<h1>分享给好友</h1>		
	<ul>
		<table cellpadding="0" cellspacing="0">
			<tr>
				<td width="20%" align="right">分享地址</td>
				<td><input type="text" size="44" name="shareLink" id="shareLink" class="input" value="{APP_PATH}index.php?m=member&a=register&uniqid={$memberinfo[uniqid]}" onclick="this.select();" /></td>
			</tr> 
			<tr>
				<td align="right">&nbsp;</td>
				<td><div id="d_clip_container" style="position:relative">
					<div id="d_clip_button" class="my_clip_button"><button type="button">点击复制</button></div>
				</div></td>
			</tr>
		</table>
	</ul>
</div>
</body>
</html>
